<!DOCTYPE html>
<style>
#settings {
    min-width: 100px;
    min-height: 100px;
    position: fixed;
    top: 0px;
    background-color:red;
}
</style>
<html>
<body style="width:1000px;height:2000px;">
<div id="settings">
</div>
</body>
</html>
